<?php
    get_header();
    $lang = qtrans_getLanguage();
?>
<div id="context">
<h2><?php if($lang=="en") echo "Recruitment"; else echo "Tuyển Dụng"; ?></h2>
<ul>
<?php
    if(have_posts()):
        while(have_posts()): the_post();
?>
    <li>
    <h4><?php the_title(); ?></h4>
    <p><?php if($lang=="en") echo "Deadline To Apply"; else echo "Hạn chót nộp hồ sơ"; ?>: <?php echo get_post_meta(get_the_ID(), 'wpcf-date', true); ?></p>
    <a href="<?php echo the_permalink(); ?>" title="(<?php if($lang=="en") echo "Click to view detail"; else echo "Xem chi tiết"; ?>)" class="lnk-view">(<?php if($lang=="en") echo "Click to view detail"; else echo "Xem chi tiết"; ?>)</a> </li>    
<?php
        endwhile;
    endif;
?>
</ul>
</div>
<?php
    get_footer();
?>
